Skip to content

Hermetic Builds 🔒 #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Aug 8, 2025
Merged

Hermetic Builds 🔒 #40

merged 9 commits into from
Aug 8, 2025

Conversation

GrantBirki
Copy link
Member

No description provided.

@Copilot Copilot AI review requested due to automatic review settings August 8, 2025 20:11
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements hermetic builds to ensure reproducible and dependency-isolated builds. The changes establish a vendor-only build system that prevents network access during builds and ensures all dependencies are sourced locally.

  • Introduces hermetic build environment with vendor-only dependency resolution
  • Adds comprehensive build scripts for consistent development workflow
  • Updates version handling to properly support both ldflags and VCS fallback mechanisms

Reviewed Changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
script/env New shared environment setup with hermetic Go proxy settings
script/bootstrap New hermetic dependency verification script
script/build New build script with version embedding via ldflags
script/update New dependency update script with hermetic environment controls
script/test Updated to use vendor mode and shared environment
script/lint Updated to use vendor mode and shared environment
script/release Updated bash shebang and error handling
internal/version/version.go Refactored to support ldflags precedence over VCS info
internal/version/version_test.go Updated tests for new version handling logic
.github/workflows/*.yml Added bootstrap step to all CI workflows

@GrantBirki GrantBirki merged commit ba1ae61 into main Aug 8, 2025
7 checks passed
@GrantBirki GrantBirki deleted the hermetic-builds branch August 8, 2025 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant